snort3: enable/disable options based on package availability
authorJosef Schlehofer <[email protected]>
Wed, 8 Oct 2025 19:47:02 +0000 (21:47 +0200)
committerJosef Schlehofer <[email protected]>
Fri, 10 Oct 2025 06:39:46 +0000 (08:39 +0200)
commit5f8bd04c143315aa971fd764e37e24caa5ebada5
tree4a1e37dfdca6a821c2eb6f5ac3981c74d4bf3933
parent436c73d4599dab8353fc8adb9a8a0aa07873d517
snort3: enable/disable options based on package availability

This simplifies checks enabling/disabling features, if packages are present
instead of having checks for specific architectures.

TCMALLOC_LIBRARIES is removed as it's auto-detected, unlike vectorscan
which requires explicit HS_INCLUDE_DIRS.

Fixes: 126364e105fbcfde0617f58c39048c7d56c17a06 ("snort3: refactor architecture-specific dependencies and CMake options")
Signed-off-by: Josef Schlehofer <[email protected]>
(cherry picked from commit 02f78bc30acceab54c97165c09dbdab4297539bd)
net/snort3/Makefile